package com.example.userui.feign;

import com.example.goodscommons.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("user-provider")
public interface UserUIFeign {

    @GetMapping("/user/list")
    List<User> getUserList();
}
